// 状态码
const status = {
  SUCCESS_CODE: 1,
  SUCCESS_MSG: '操作成功',

  PASSWORK_CODE: 2,
  PASSWORK_MSG: '账号或密码错误',

  PARAME_CODE: 3,
  PARAME_MSG: '参数错误',

  TOKEN_CODE: 4,
  TOKEN_MSG: 'token失效',

  USERNULL_CODE: 5,
  USERNULL_MSG: '该用户不存在',

  DBERROR_CODE: 6,
  DBERROR_MSG: '数据库操作异常',

  DBNULL_CODE: 7,
  DBNULL_MSG: '没有查询结果',

  EXCEPTION_CODE: 8,
  EXCEPTION_MSG: '其他异常',

  USEREXIT_CODE: 9,
  USEREXIT_MSG: '账号已存在',

  USERACTION_CODE: 10,
  USERACTION_MSG: '账号未激活',

  USERISACTION_CODE: 11,
  USERISACTION_MSG: '账号已激活'
}

module.exports = status
